package cn.ddiancan.xddcloud.common.entity;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MenuVO extends BaseVO implements Serializable {

    @Schema(description = "菜单编码")
    private String code;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "路由名称")
    private String routeName;

    @Schema(description = "路由路径")
    private String routePath;

    @Schema(description = "菜单类型（1-菜单 2-目录 3-按钮）")
    private Integer type;

    @Schema(description = "【按钮】权限标识")
    private String perm;

    @Schema(description = "状态（0-禁用 1-启用）")
    private Integer status;

    private Integer sort;

    @Schema(description = "菜单图标")
    private String icon;
}
